package org.springframework.example.mybatis.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.example.mybatis.mapper.UserMapper;
import org.springframework.stereotype.Component;

@Component
public class UserService {

	@Autowired
	private UserMapper userMapper;


	public void test(){
		System.out.println(userMapper.selectUser());
	}
}
